//
//  ZLTransitionDelegate.h
//  AnimationDemo
//
//  Created by jiaozenglian on 2020/7/12.
//  Copyright © 2020 Jiaozl. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface ZLTransitionDelegate : NSObject <UIViewControllerTransitioningDelegate, UINavigationControllerDelegate>

@property (nonatomic, copy) id<UIViewControllerAnimatedTransitioning>(^animatedPresentTransition)(void);
@property (nonatomic, copy) id<UIViewControllerAnimatedTransitioning>(^animatedDismissalTransition)(void);

@property (nonatomic, copy) UIPresentationController *(^presentationControllerForTransition)(void);

@property (nonatomic, copy) id<UIViewControllerInteractiveTransitioning>(^interactivePresentTransition)(void);
@property (nonatomic, copy) id<UIViewControllerInteractiveTransitioning>(^interactiveDismissalTransition)(void);

@end

NS_ASSUME_NONNULL_END
